using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SilkSharp.src
{
	/*
	 *
	 * @author Jing Dai
	 * @author Dingxin Xu
	 */
	public class Silk_LBRR_reset
	{
		/*
		 * Resets LBRR buffer, used if packet size changes.
		 * 
		 * @param psEncC state
		 */
		static void SKP_Silk_LBRR_reset(
			SKP_Silk_encoder_state psEncC             /* I/O  state                                       */
		)
		{
			int i;

			for( i = 0; i < Silk_define.MAX_LBRR_DELAY; i++ )
			{
				psEncC.LBRR_buffer[ i ].usage = Silk_define.SKP_SILK_NO_LBRR;
			}
		}
	}
}
